---
# Define resources for this group of hosts here. 
lvm_size: 40000
mem_size: 4096
num_cpus: 1

# for systems that do not match the above - specify the same parameter in
# the host_vars/$hostname file

fas_client_groups: sysadmin-qa,sysadmin-main,fi-apprentice

# default virt install command is for a single nic-device
# define in another group file for more nics (see buildvm)
virt_install_command: /usr/bin/virt-install -n {{ inventory_hostname }} -r {{ mem_size }}
                 --disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }}
                 --vcpus={{ num_cpus }}  -l {{ ks_repo }} -x
                 "ksdevice=eth0 ks={{ ks_url }} console=tty0 console=ttyS0 
                  hostname={{ inventory_hostname }} nameserver={{ dns }} 
                  ip={{ eth0_ip }}::{{ gw }}:{{ nm }}:{{ inventory_hostname }}:eth0:none" 
                 --network=bridge=br0,model=virtio --autostart --noautoconsole

sshd_config: ssh/sshd_config.qa-stg
sshd_port: 222
external_hostname: qadevel-stg.cloud.fedoraproject.org

sslcertfile: qa-stg.qa.fedoraproject.org.cert
sslkeyfile: qa-stg.qa.fedoraproject.org.key
sslintermediatecertfile: ''

mariadb_host: localhost
mariadb_config: my.cnf.phabricator
mariadb_user: '{{ qa_stg_mariadb_user }}'
mariadb_password: '{{ qa_stg_mariadb_password }}'

# phabricator config
phabricator_db_prefix: 'phabricator'
enable_phabricator_git: True
phabricator_vcs_user: git
phabricator_vcs_user_password: '{{ qa_stg_vcs_user_password }}'
phabricator_daemon_user: phabdaemon
phabroot: /usr/share/
phabricator_filedir: /var/lib/phabricator/files
phabricator_repodir: /var/lib/phabricator/repos
phabricator_config_filename: qaconfig
phabricator_header_color: 'fluttershy'
phabricator_mail_enabled: False
phabricator_mail_domain: stg.fedoraproject.org
ircnick: fedoraqabot
phabricator_mysqldump_filename: 'qadevel-stg_phabricator.sql'

# backup details (for parity with prod, not actually used)
backup_dir: /srv/backup
backup_username: root
backup_ssh_pubkey: ssh-dss AAAAB3NzaC1kc3MAAACBAJr3xqn/hHIXeth+NuXPu9P91FG9jozF3Q1JaGmg6szo770rrmhiSsxso/Ibm2mObqQLCyfm/qSOQRynv6tL3tQVHA6EEx0PNacnBcOV7UowR5kd4AYv82K1vQhof3YTxOMmNIOrdy6deDqIf4sLz1TDHvEDwjrxtFf8ugyZWNbTAAAAFQCS5puRZF4gpNbaWxe6gLzm3rBeewAAAIBcEd6pRatE2Qc/dW0YwwudTEaOCUnHmtYs2PHKbOPds0+Woe1aWH38NiE+CmklcUpyRsGEf3O0l5vm3VrVlnfuHpgt/a/pbzxm0U6DGm2AebtqEmaCX3CIuYzKhG5wmXqJ/z+Hc5MDj2mn2TchHqsk1O8VZM+1Ml6zX3Hl4vvBsQAAAIALDt5NFv6GLuid8eik/nn8NORd9FJPDBJxgVqHNIm08RMC6aI++fqwkBhVPFKBra5utrMKQmnKs/sOWycLYTqqcSMPdWSkdWYjBCSJ/QNpyN4laCmPWLgb3I+2zORgR0EjeV2e/46geS0MWLmeEsFwztpSj4Tv4e18L8Dsp2uB2Q==  root@backup03-rdiff-backup

# buildmaster details
buildmaster_db_host: localhost
buildmaster_template: ci.master.cfg.j2
buildmaster_endpoint: builds
buildslave_ssh_pubkey: ''
buildslave_port: 9989
buildmaster_dir: /home/buildmaster/master
buildslave_dir: /home/buildslave/slave
buildslave_poll_interval: 1800
buildmaster_home: /home/buildmaster
buildmaster_user: buildmaster

# build details
repo_base: 'https://git.qadevel-stg.cloud.fedoraproject.org/diffusion'
docs_build_dir: /var/www/docs/

# for now, we're just doing a local slave so we need the slave vars in here
slave_home: /home/buildslave/
slave_dir: /home/buildslave/slave
slave_user: buildslave
buildslave_name: 'qa-stg01'

deployment_type: qa-stg
tcp_ports: [ 80, 222, 443, "{{ buildslave_port }}", 3306 ]

# static sites
static_sites:
  - name: docs.{{ external_hostname }}
    document_root: /var/www/docs
sslonly: false

freezes: false
